Total Complexity | 41 |
Dependencies | 3 |
Dependents | 4 |
Total lines | 294 |
Lines of code | 144 |
Logical lines of code | 91 |
Comment lines | 121 |
Methods | 16 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
sanitize_item_amount_mismatch() | 49 | 9 | 28 | |
sanitize_item_tax_mismatch() | 60 | 6 | 13 | |
sanitize_breakdown_mismatch() | 60 | 5 | 13 | |
calculate_tax_mismatch() | 56 | 4 | 17 | |
calculate_breakdown_mismatch() | 57 | 2 | 17 | |
__construct() | 64 | 3 | 10 | |
breakdown_value() | 70 | 2 | 6 | |
calculate_item_mismatch() | 63 | 2 | 10 | |
amount() | 79 | 1 | 3 | |
currency_code() | 78 | 1 | 3 | |
breakdown() | 79 | 1 | 3 | |
items() | 79 | 1 | 3 | |
sanitize() | 66 | 1 | 9 | |
has_ditched_items_breakdown() | 82 | 1 | 3 | |
get_last_message() | 82 | 1 | 3 | |
set_last_message() | 81 | 1 | 3 |